home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
0896.ZIP
/
CPRESTEL.DOC
< prev
next >
Wrap
Text File
|
1987-06-03
|
2KB
|
39 lines
CPRESTEL.COM removes CR and LFs from files you want to send to Prestel,
and pads to the end of each line with spaces.
For some reason only known to themselves, CR (0DH) to the Prestel editor
means "go to the top left corner corner" so if you prepare an ascii file
offline with the normal CR,LF at the end of the lines, each line overwrites
the other when you send it to Prestel.
The command format is CPRESTEL or CPRESTEL filename
The program asks if the file is for Prestel. Press "p" if it is.
It then asks for the name of the file to be converted (if not entered on the
command line) and produces a new file 'filename.CNV' which you can send.
(If 'filename.CNV' already exists on the default drive it will be overwriten!)
Prestel's FIRST line is 39 chrs long. (Most View Data systems are 40 chrs.
so if you DON'T press "p" the first line will be padded to 40 chrs.)
The rest of the lines are 40 chrs long.
Prepare your file off line,each line 40
chrs long or less (Prestel 39 chrs for
the first line), exit your editor, and
run CPRESTEL to convert it.
N.B. The file you're converting has to
be in the current directory but CPRESTEL
can be in a different one.
CPRESTEL will also convert files in which the lines are longer than 40 chrs,
splitting the lines at the nearest 'space' fitting in words, if it can,
after a CR,LF, but the end result is not always to your liking.
Don't try any files bigger than 4000 chrs as the output buffer will be
overwritten. Prestel can only accept 519 chrs (13 lines) anyway.
Written by John Cardiff MBX 919998819